import matplotlib.pyplot as plt
import seaborn as sns
import pandas as pd

df=pd.read_csv('tips.csv')
print(df.head())
# data
#x：横轴
#y：纵轴
#hue：内部分类
#split：拼接
sns.boxplot(x='tip',y='sex',data=df)
sns.stripplot(x='tip',y='sex',jitter=True
,data=df,color='r')
plt.show()